#include"IconPluginFactory.h"

#include<QIconEngine>
#include"USvgIconEngine.h"

IconPluginFactory::IconPluginFactory(QObject* parent):QIconEnginePlugin(parent)
{

}

IconPluginFactory::~IconPluginFactory()
{

}

QIconEngine* IconPluginFactory::create(const QString &filename)
{
    if("MySvgIconEngine" == filename)
    {
        return new USvgIconEngine;
    }
//    return new QIconEngine;
}
